package com.macro.mall.tiny.modules.pms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.macro.mall.tiny.modules.pms.model.PmsNavigation;

import java.util.List;

/**
 * 导航栏Service接口
 */
public interface PmsNavigationService extends IService<PmsNavigation> {
    
    /**
     * 获取所有显示的导航栏列表
     */
    List<PmsNavigation> listVisible();

    /**
     * 分页查询导航栏
     */
    Page<PmsNavigation> list(String keyword, Integer pageSize, Integer pageNum);

    /**
     * 创建导航栏
     */
    boolean create(PmsNavigation pmsNavigation);

    /**
     * 修改导航栏
     */
    boolean update(Long id, PmsNavigation pmsNavigation);

    /**
     * 删除导航栏
     */
    boolean delete(Long id);
}
